﻿namespace OPSYS_Schematic.UIInfrastructure
{
    /// <summary>
    /// 图片查找辅助类
  /// </summary>
    public class ImageFindHelper
    {
        /// <summary>
        /// 根据提供的图片名称查找图片的路径
        /// </summary>
        /// <param name="iconName"></param>
        /// <returns></returns>
        public static string FindIconPathByName(string iconName)
        {
            return string.Format(@"/OPSYS_Schematic.Presentation;component/Resources/Images/{0}", iconName);
        }
    }
}